package com.example.webdatabinder.controller;

import com.example.webdatabinder.entity.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;

@RestController
@RequestMapping("/role")
public class RoleController {
    @RequestMapping("/date")
    public User find(User user, HttpServletResponse response) throws Exception{
        return user;
    }
}
